// Copyright(c) Sonosemi Medical Ltd. Embedded Software Team.
// Author: Zhang Yisong(zhangyisong@sonosemi.com)
#pragma once
#include <type_traits>
namespace active {
namespace concepts {

template <typename T>
concept EventTyable = requires(T t) {
  typename T::ConnectService;
  typename T::Service;
};

} // namespace concepts
template <typename T> struct is_event_type : std::false_type {};
template <concepts::EventTyable T> struct is_event_type<T> : std::true_type {};
} // namespace active